<?php

$cfg=parse_ini_file("config.ini", true);
#print "<pre>".print_r($cfg, true)."</pre>";
$page="default";
if (isset($_GET["page"]) and isset($cfg[$_GET["page"]]) ) $page=$_GET["page"];

echo "<H1>".$cfg["$page"]["TITRE"]."</H1>";
echo "<hr/><h2>contenu</h2>";
echo "<pre>".$cfg["$page"]["CONTENU"]."</pre>";
?>